Fully Qualified Name: | Laminas\Cache\StorageFactory |
Name | Description | Defined By |
---|---|---|
adapterFactory() | Instantiate a storage adapter | StorageFactory |
factory() | The storage factory This can instantiate storage adapters and plugins. | StorageFactory |
getAdapterPluginManager() | Get the adapter plugin manager | StorageFactory |
getPluginManager() | Get the plugin manager | StorageFactory |
pluginFactory() | Instantiate a storage plugin | StorageFactory |
resetAdapterPluginManager() | Resets the internal adapter plugin manager | StorageFactory |
resetPluginManager() | Resets the internal plugin manager | StorageFactory |
setAdapterPluginManager() | Change the adapter plugin manager | StorageFactory |
setPluginManager() | Change the plugin manager | StorageFactory |
Instantiate a storage adapter
Parameter Name | Type | Description |
---|---|---|
$adapterName | string|\Storage\StorageInterface | |
$options | array|\Traversable|\Storage\Adapter\AdapterOptions |
Returns: \Storage\StorageInterface
The storage factory This can instantiate storage adapters and plugins.
Parameter Name | Type | Description |
---|---|---|
$cfg | array|\Traversable |
Returns: \Storage\StorageInterface
Get the adapter plugin manager
Returns: \Storage\AdapterPluginManager
Get the plugin manager
Returns: \Storage\PluginManager
Instantiate a storage plugin
Parameter Name | Type | Description |
---|---|---|
$pluginName | string|\Storage\Plugin\PluginInterface | |
$options | array|\Traversable|\Storage\Plugin\PluginOptions |
Returns: \Storage\Plugin\PluginInterface
Resets the internal adapter plugin manager
Returns: void
Resets the internal plugin manager
Returns: void
Change the adapter plugin manager
Parameter Name | Type | Description |
---|---|---|
$adapters | \Storage\AdapterPluginManager |
Returns: void
Change the plugin manager
Parameter Name | Type | Description |
---|---|---|
$plugins | \Storage\PluginManager |
Returns: void